import { EggAppConfig, PowerPartial } from "egg";

export default () => {
  const config: PowerPartial<EggAppConfig> = {
    // mongoose: {
    //   client: {
    //     url: "mongodb://user:usert123@47.99.84.138:27110/onerror",
    //     options: {
    //       autoReconnect: true,
    //       reconnectTries: Number.MAX_VALUE,
    //       bufferMaxEntries: 0
    //     }
    //   }
    // }
  };
  return config;
};
